﻿@model Vcare.Models.Members

<h2>@ViewBag.Fullname</h2>

@using (Html.BeginForm("ValidateCommand", "PayPal"))
{
    <input type="hidden" name="first_name" value="@(Model.Firstname)" />
    <input type="hidden" name="last_name" value="@(Model.Lastname)" />
    <input type="hidden" name="address1" value="@(Model.Address)" />
    <input type="hidden" name="city" value="@(Model.Town)" />
    <input type="hidden" name="country" value="GB" />
    <input type="hidden" name="email" value="@(Model.Email)" />
    <div>
    <table >
    <tr>
    <td>
    Product Name:
    </td>
    <td>
    <input type="text" name="product" value="Vcare Membership" readonly  />
    </td>
    </tr>
    <tr>
    <td>
    Total Price:
    </td>
    <td>
    £<input type="text" name="totalPrice" value="@(Model.ValueOfSinglePayment)" readonly />
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <input type="submit" name="btnConfirm" value="Check Out with Paypal" />
    </td>
    </tr>
    </table>
    </div>
}